package com.nbst.service.impl;

import com.nbst.dao.PeopleMapper;
import com.nbst.model.People;
import com.nbst.service.PeopleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PeopleServiceImpl implements PeopleService {
    @Autowired
    private PeopleMapper mapper;

    @Override
    public People selectByPrimaryKey(Integer id) {
        return  mapper.selectByPrimaryKey(id);
    }
}
